<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title></title>
    <script src="./js/index.js"></script>
  </head>
  <body>
    <script type="text/javascript">
      var testArr = getRandomNum(1, 30, 3);
      document.write("<h1>1-30 以内的 3 个随机数：" + testArr + "</h1>");
      testArr = getRandomNum(1, 100, 10);
      document.write("<h1>1-100 以内的 10 个随机数：" + testArr + "</h1>");
    </script>
  </body>
</html>
